package com.ruoyi.develop.payRecord.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.develop.orderIronRecordBuy.domain.OrderIronRecordBuy;
import com.ruoyi.develop.payApplyBuyDetail.domain.PayApplyBuyDetail;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 付款记录对象 pay_record
 *
 * @author lmm
 * @date 2024-10-27
 */
public class PayRecord extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 付款单号 */
    private String nos;

    /** 申请ID */
    @Excel(name = "申请ID")
    private String applyId;

    /** 供应商id */
    @Excel(name = "供应商id")
    private String supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /**
     * 开户行
     */
    @Excel(name = "开户行")
    private String bankName;
    /**
     * 行号
     */
    @Excel(name = "行号")
    private String bankNo;
    /**
     * 账号
     */
    @Excel(name = "账号")
    private String accountNo;

    /** 支付时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    /** 付款金额 */
    @Excel(name = "付款金额")
    private BigDecimal money;

    /** 附件 */
    @Excel(name = "附件")
    private String attachment;

    /** 状态 */
    private String status;

    private String applyUserName;
    private String applySehnjiName;

    public String getApplySehnjiName() {
        return applySehnjiName;
    }

    public void setApplySehnjiName(String applySehnjiName) {
        this.applySehnjiName = applySehnjiName;
    }

    public String getApplyUserName() {
        return applyUserName;
    }

    public void setApplyUserName(String applyUserName) {
        this.applyUserName = applyUserName;
    }

    List<PayApplyBuyDetail> payApplyBuyDetails;

    List<OrderIronRecordBuy> orderIronRecordBuys;

    /** 删除标志 */
    private String delFlag;

    public List<OrderIronRecordBuy> getOrderIronRecordBuys() {
        return orderIronRecordBuys;
    }

    public void setOrderIronRecordBuys(List<OrderIronRecordBuy> orderIronRecordBuys) {
        this.orderIronRecordBuys = orderIronRecordBuys;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<PayApplyBuyDetail> getPayApplyBuyDetails() {
        return payApplyBuyDetails;
    }

    public void setPayApplyBuyDetails(List<PayApplyBuyDetail> payApplyBuyDetails) {
        this.payApplyBuyDetails = payApplyBuyDetails;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }

    public String getNos() {
        return nos;
    }

    public void setNos(String nos) {
        this.nos = nos;
    }

    public void setApplyId(String applyId)
            {
            this.applyId = applyId;
            }

    public String getApplyId()
            {
            return applyId;
            }
    public void setSupplierId(String supplierId)
            {
            this.supplierId = supplierId;
            }

    public String getSupplierId()
            {
            return supplierId;
            }
    public void setSupplierName(String supplierName)
            {
            this.supplierName = supplierName;
            }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankNo() {
        return bankNo;
    }

    public void setBankNo(String bankNo) {
        this.bankNo = bankNo;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getSupplierName()
            {
            return supplierName;
            }
    public void setPayTime(Date payTime)
            {
            this.payTime = payTime;
            }

    public Date getPayTime()
            {
            return payTime;
            }
    public void setMoney(BigDecimal money)
            {
            this.money = money;
            }

    public BigDecimal getMoney()
            {
            return money;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("applyId",getApplyId())
            .append("supplierId",getSupplierId())
            .append("supplierName",getSupplierName())
            .append("payTime",getPayTime())
            .append("money",getMoney())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("delFlag",getDelFlag())
        .toString();
    }
}
